package com.creditnet.bmc.platform.dao;

import com.creditnet.bmc.platform.domain.RoleDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by bjmaozhengwei on 2018/3/31.
 */
@Mapper
public interface RoleDao {
    RoleDO get(Long roleId);

    List<RoleDO> list(Map<String,Object> map);

    int count(Map<String,Object> map);

    int save(RoleDO role);

    int update(RoleDO role);

    int remove(Long roleId);

    int batchRemove(Long[] roleIds);
}
